﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using Abp.Organizations;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCompanyName.AbpZeroTemplate.SystemSetting
{
    /// <summary>
    /// 系统参数配置
    /// </summary>
    public class SystemSetting : Entity, IHasCreationTime, IMustHaveOrganizationUnit
    {
        public const int MaxTitleLength = 256;
        public const int MaxDescriptionLength = 64 * 1024;//64kb

        /// <summary>
        /// 数据Id（主键）
        /// </summary>
        public Guid R_Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreationTime { get; set; }

        /// <summary>
        /// 当前负责人所在的OU
        /// </summary>
        public long OrganizationUnitId { get; set; }

        /// <summary>
        /// 参数名
        /// </summary>
        public string Parametername { get; set; }


        /// <summary>
        /// 参数值
        /// </summary>
        public string Parametervalue { get; set; }

        /// <summary>
        /// 状态 1:启用，0停用
        /// </summary>
        public int Status { get; set; }


    }
}
